package itheima.itheima_257;

import java.util.HashMap;
import java.util.Map;

public class MapDemo {
    public static void main(String[] args) {
        Map<String,String> map=new HashMap<String, String>();
        map.put("itheima001","林青霞");
        map.put("itheima002","张曼玉");
        map.put("itheima003","王祖贤");
        //put第一次出现时添加，第二次添加时修改，所以输出的是后门的柳岩

        map.put("itheima003","柳岩");

        System.out.println(map);
    }
}
